/*
 * Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
 * This file is part of Pydio.
 *
 * Pydio is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Pydio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Pydio.  If not, see <http://www.gnu.org/licenses/>.
 *
 * The latest code can be found at <https://pydio.com>.
 */
@reactBoxShadowDepth1:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);

.hsplitbar {height: 10px !important;}
a.carousel-control {
	width: 20px !important;
	border-radius: 0 !important;
}
#browser, .browser_splitter{
  padding: 0;
  border: 0;
  clear:left;
  line-height: 18px;
  background-color: white;
  width: 100%;
}
.browser_splitter{
    -webkit-box-shadow: inset 1px 1px 2px #999;
    -moz-box-shadow: inset 1px 1px 2px #999;
    box-shadow: inset 1px 1px 2px #999;
}

a.m-2{
  text-align: center;
  display: block;
  width: 60%;
  padding: 10px;
  margin: 0 auto;
  font-size: 14px;
  text-transform: uppercase ;
  font-weight: 500;
  box-shadow: @reactBoxShadowDepth1;
}
#message-id-1{
  color: #555;
  margin: 50px auto !important;
}


.ajxp_theme_orbit{

  #browser{
    width: 100%;
    position:absolute;
  }
}

#uploadBrowseButton{
    display: none !important;
}

#fileInputPos,
#fileInputContainerDiv
{
    width: 280px;
}

#fileInputContainer input{
    opacity: 1;
    font-size: 12px;
    height: 40px;
}

/* UPDATE MINISITE TEMPlATES */
#ajxp_shared_folder div#breadcrumb,
#ajxp_embed_template div#breadcrumb
{
    display:none;
}
#ajxp_shared_folder #open_with_unique_button,
#ajxp_embed_template #open_with_unique_button
{
    display: inline;
}

#ajxp_shared_folder img.custom_logo_image,
#ajxp_embed_template img.custom_logo_image
{
    width: auto;
    height: 70px !important;
    top: inherit !important;
    bottom: 6px;
    right: 0;
    left: inherit !important;
}
#ajxp_shared_folder .widget_logo,
#ajxp_embed_template .widget_logo
{
    top: inherit;
    bottom: 0;
}
#ajxp_shared_folder .thumbnail_selectable_cell.detailed.selected div.thumbLabel,
#ajxp_embed_template .thumbnail_selectable_cell.detailed.selected div.thumbLabel
{
    padding-top: 12px;
}
#ajxp_shared_folder .selectable_div,
#ajxp_embed_template .selectable_div
{
    padding-bottom: 90px !important;
}
#ajxp_shared_folder #widget_title,
#ajxp_embed_template #widget_title
{
    color: white;
}

#ajxp_shared_folder #display_toolbar
{
    padding: 8px 9px 4px;
    height: 25px;
}

div.detailed{
  .thumbLabel{
    padding-top: 20px !important;
  }
  &.selected{
    .thumbLabel{
      padding-top: inherit !important;
    }
  }
}

#info_panel_share_toolbar{
  display: inline-block !important;
}

div.detailed div.FL-inlineToolbar {
    margin-left: 5px;
    margin-bottom: 7px;
    text-align: left;
    margin-top: 5px;
    overflow: visible;
}

div.detailed.selected div.FL-inlineToolbar a {
    color: white;
    padding: 1px 2px 1px 0;
    white-space: nowrap;
  font-size: 13px;
  text-transform: uppercase;
}

div.detailed .FL-inlineToolbar a#ls_inline_button {
    position: absolute;
    top: 1px;
    right: 0;
  bottom: 0;
  background-color: #f2f2f2;
    padding: 33px 16px 2px 16px !important;
    color: #777;
}

div.detailed .FL-inlineToolbar a#ls_inline_button > span.ajxp_icon_span{
    font-size: 25px !important;
}

div.detailed .FL-inlineToolbar a#ls_inline_button > span.actionbar_button_label{
    display: none !important;
}
#widget_title{
    margin-right: 0;
}
#buttons_bar #inline_toolbar,
#cpane_header #inline_toolbar
{
    display: none;
}

/* Dialogs */

#diaporama_box{
  height: 100%;
}

/* Login Page */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    #generic_dialog_box {
      width: 100% !important;
    }
    .SF_input {
        margin-left: auto;
        margin-right: auto;
    }

    #login_form {
        text-align: center;
    }
}

#browser {
    height: 100%;
}

/* Share Page */

.repository_title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 130px;
    height: 30px;
}

#widget_title {
    height: 60px !important;
}

#display_toolbar {
    margin-left: auto;
    margin-right: auto;
    width: auto;
}